@width: 100%;

.display {
  display: inline-block;
  vertical-align: top;
}

.box {
  box-sizing: border-box;
}

.ly-content {
  .ly-contact {
    margin-top: 30px;
    position: relative;
    .ly-list {
      width: 50%;
      padding: 40px 20px;
      .box;
      h2 {
        font-size: 16px;
        color: #333;
        line-height: 25px;
        margin-bottom: 30px;
      }
      li {
        width: @width;
        line-height: 50px;
        margin-bottom: 20px;
        font-size: 18px;
        cursor: pointer;
        .ly-submit {
          width: 160px;
          height: 35px;
          line-height: 35px;
          background: #000;
          color: #fff;
          cursor: pointer;
          text-align: center;
          font-size: 16px;
          margin: 60px 0;
          display: block;
        }
        .ly-input {
          width: 300px;
          height: 40px;
          border: none;
          font-size: 14px;
          border-bottom: 1px solid #ccc;
        }
        p {
          line-height: 30px;
          font-size: 14px;
        }
        a {
          font-size: 14px;
        }
      }
    }
    .ly-code {
      width: 300px;
      height: 370px;
      padding: 70px 20px 70px 80px;
      .box;
      position: absolute;
      top: 30px;
      right: 100px;
      z-index: 9;
      border-left: 1px solid #ccc;
      img {
        width: @width;
      }
      p {
        line-height: 30px;
        font-size: 16px;
        text-align: center;
      }
    }
  }
}

.ly-li {
  width: @width;
  margin-top: 40px;
  dl {
    &.ly-cation {
      .ly-show {
        display: block;
      }
      .ly-h2 {
        &:before {
          transition: 0.3s;
          transform: rotate(90deg);
        }
      }
    }
    width: @width;
    margin-bottom: 20px;
    .ly-h2 {
      width: @width;
      line-height: 40px;
      padding-left: 20px;
      cursor: pointer;
      .box;
      position: relative;
      font-size: 16px;
      font-weight: 700;
      letter-spacing: 1px;
      &:before {
        width: 0;
        height: 0;
        border-width: 6px 0 6px 6px;
        border-style: solid;
        border-color: transparent transparent transparent #000; /*透明 透明 透明 灰*/
        position: absolute;
        content: "";
        left: 0;
        top: 14px;
      }
    }
    .ly-show {
      display: none;
      width: 60%;
      padding: 30px;
      &.ly-contact {
        width: @width;
        padding: 30px 0;
      }
      p {
        margin-bottom: 10px;
        line-height: 25px;
        font-size: 13px;
        img {
          max-width: @width;
        }
      }
    }
  }
}

@media screen  and (max-width: 760px) {
  .ly-li {
    width: @width;
    margin-top: 20px;
    dl {
      margin-bottom: 0;
      .ly-show {
        width: @width;
        margin: 0;
        padding: 10px 0 10px 10px;
        .box;
      }
    }
  }
}